package com.xingkeduo.dao;

import com.xingkeduo.model.example.TMarketingTranInfoCouponExample;
import com.xingkeduo.model.po.TMarketingTranInfoCoupon;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMarketingTranInfoCouponMapper {
    int countByExample(TMarketingTranInfoCouponExample example);

    int deleteByExample(TMarketingTranInfoCouponExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingTranInfoCoupon record);

    int insertSelective(TMarketingTranInfoCoupon record);

    List<TMarketingTranInfoCoupon> selectByExample(TMarketingTranInfoCouponExample example);

    TMarketingTranInfoCoupon selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingTranInfoCoupon record, @Param("example") TMarketingTranInfoCouponExample example);

    int updateByExample(@Param("record") TMarketingTranInfoCoupon record, @Param("example") TMarketingTranInfoCouponExample example);

    int updateByPrimaryKeySelective(TMarketingTranInfoCoupon record);

    int updateByPrimaryKey(TMarketingTranInfoCoupon record);
}